/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package genetic;
import java.util.Random;

/**
 *
 * @author Ifun
 */
public class genMath {
    public static Random rand=new Random();
    
    public static int getRandomInt(int max)
    {
        return rand.nextInt(max);
    }
    
    public static float getRandomFloat()
    {
            return rand.nextFloat();
    }
}
